package yh.design.factorymethod.impl;

import yh.design.factorysimple.AbstractPayment;
import yh.design.factorysimple.impl.VipCardPayment;
import yh.design.factorymethod.IPaymentFactory;

/**
 * @author: zyh
 * @date: 2025/4/13 03:11
 **/
public class VipCardPaymentService implements IPaymentFactory {
    @Override
    public AbstractPayment createPayment() {
        return new VipCardPayment();
    }
}
